<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>管理员登陆</title>
	<link rel="stylesheet" type="text/css" href="./res/css/css.css" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body style="background:url(./res/images/loginbg.jpg) repeat-x;text-align:center;">
	<div style="padding:120 0 0 0; width:325px;margin:0 auto 0 auto;">	  
	  <div style="background:url(./res/images/loginbj001.jpg) no-repeat; height:200px;text-align:left;padding:5 0;">
	  <div style="margin:auto;width:330px;height:30px;color:#fff;padding:0 50 0 0;text-align:center">
	 顶嬴营销邮件营销管理系统
	  </div>
			<form name="loginform" method="post" action="index.php?ctl=index&act=login" target="_top" onSubmit="return Checkuser();">
			
				<div style="color:000;padding:3px;margin-left:20px;margin-top:20px;">用户名：<input type="text" name="username" size="18"/></div>
				<div style="color:000;padding:3px;margin-left:20px;">密　码：<input type="password" name="password" size="18"/></div>
				<!--<div style="color:000;padding:3 3 10;margin-left:20px;">验证码：<input type="text" name="yzm" size="4"/>
					<img src="yzimg.php" align="absmiddle" title="看不清楚，换一张" onClick="this.src='yzimg.php?n='+ Math.random();">
					<span style="font-size:9pt;">验证码不区分大小写</span>
				</div>-->
				<div style="color:fff;padding:3px;text-align:center;"><input  type="image" src="./res/images/loginbj002.jpg"  style="border:0px;"/> <input type="image" src="./res/images/loginbj003.jpg" value="重填" style="border:0px;"/></div>
			</form>
		</div>
	</div>
	<script language='JavaScript' type='text/JavaScript'>
	function Checkuser(){
		if (document.loginform.username.value==''){
			alert('！！！用户名不能为空！');
			document.loginform.username.focus();
			return false;
		}
		if (document.loginform.password.value==''){
			alert('请输入密码！');
			document.loginform.password.focus();
			return false;
		}
		/*if (document.loginform.yzm.value==''){
			alert('请输入验证码，点击验证码图片可更换验证码！');
			document.loginform.yzm.focus();
		return false;
		}*/
		return true;
	}
	</script>
</body>
</html>